<template>
    <svg
        v-if="iconColor === 'black'"
        width="20"
        height="20"
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
    >
        <g clip-path="url(#clipgitcoin)">
            <path
                fill-rule="evenodd"
                clip-rule="evenodd"
                d="M13.729 8.42916C14.1927 9.07916 14.4445 9.8685 14.4379 10.6644C14.4379 11.4471 14.1861 12.2298 13.729 12.8665L14.6962 13.6027C15.3123 12.7537 15.6501 11.719 15.6501 10.671C15.6568 9.56336 15.2924 8.47563 14.6233 7.6001L14.0687 8.1001L13.729 8.42916Z"
                fill="#02E2AC"
            />
            <path
                fill-rule="evenodd"
                clip-rule="evenodd"
                d="M17.7804 15.9566L13.2267 12.493C13.5513 12.0658 13.7367 11.5458 13.7645 11.0072C13.7831 10.4686 13.6441 9.93935 13.3565 9.48435L15.536 7.51576L17.8176 5.38002C17.966 5.2407 17.9752 4.99927 17.8268 4.85069L17.5115 4.53498C15.8884 2.89138 13.6997 1.93494 11.3996 1.86066L11.4089 0.60707C11.4181 0.523499 11.4089 0.439929 11.3903 0.356358C11.3625 0.272787 11.3254 0.198494 11.2697 0.133497C11.2141 0.0684992 11.1492 0.0220659 11.0657 -0.0150808C10.9915 -0.0522181 10.9081 -0.0707916 10.8245 -0.0707916C10.7411 -0.0707916 10.6577 -0.0522181 10.5835 -0.0150808C10.5093 0.0220659 10.4351 0.0684992 10.3794 0.133497C10.3237 0.198494 10.2773 0.272787 10.2589 0.347071C10.231 0.430642 10.2217 0.514212 10.2403 0.597783L10.231 1.88852C9.68383 1.94423 9.13662 2.04637 8.60798 2.20424L8.61722 0.597783C8.62655 0.514212 8.61722 0.430642 8.59874 0.347071C8.57092 0.263501 8.53378 0.189207 8.47815 0.12421C8.42252 0.0592126 8.35756 0.0127793 8.27412 -0.0243674C8.19992 -0.0615047 8.11639 -0.0800781 8.03295 -0.0800781C7.94951 -0.0800781 7.86598 -0.0615047 7.79187 -0.0243674C7.71767 0.0127793 7.64347 0.0592126 7.58775 0.12421C7.53212 0.189207 7.48574 0.263501 7.46726 0.337785C7.43935 0.421355 7.43011 0.504926 7.44868 0.588506L7.42087 2.64067C5.54739 3.47639 4.00785 4.93427 3.07112 6.76359C2.1344 8.59292 1.83761 10.6915 2.24569 12.7065C2.65377 14.7216 3.73889 16.5416 5.31554 17.8602C6.89223 19.1787 8.87696 19.9216 10.9266 19.9588L17.5578 19.9866C17.7619 19.9866 17.9288 19.8194 17.9288 19.6151V16.263C17.9288 16.1423 17.8732 16.0308 17.7804 15.9566ZM11.0565 18.343C9.42418 18.3338 7.83816 17.7859 6.54904 16.7923C5.25989 15.7894 4.33245 14.3872 3.9151 12.8086C3.49775 11.2301 3.61832 9.54931 4.2397 8.04506C4.87037 6.54071 5.97402 5.27784 7.39306 4.46069L7.38372 6.90284C7.37448 6.98647 7.38372 7.07 7.4023 7.15354C7.43011 7.23716 7.46726 7.31146 7.52288 7.37642C7.57851 7.44147 7.64347 7.48786 7.72691 7.525C7.80111 7.56215 7.88455 7.58072 7.96808 7.58072C8.05152 7.58072 8.13496 7.56215 8.20916 7.525C8.28336 7.48786 8.35756 7.44147 8.41319 7.37642C8.46882 7.31146 8.5152 7.23716 8.53378 7.16287C8.56159 7.07934 8.57092 6.99571 8.55235 6.91218L8.56159 3.91282C9.37779 3.61568 10.2403 3.47639 11.1121 3.47639C12.7166 3.47639 14.2747 4.00568 15.5453 4.97141C15.638 5.0457 15.6473 5.1757 15.5638 5.25927L12.0952 8.44434C11.7798 8.31432 11.4367 8.24003 11.0935 8.24003C10.7133 8.24003 10.3331 8.31432 9.98063 8.47215C9.6282 8.63007 9.32207 8.86219 9.07166 9.15003C8.82134 9.43787 8.63579 9.78143 8.52454 10.1437C8.41319 10.515 8.38538 10.8957 8.441 11.2764C8.49672 11.6572 8.62655 12.0194 8.83058 12.3444C9.0346 12.6694 9.31283 12.9386 9.6282 13.1523C9.95282 13.3565 10.3145 13.4958 10.6947 13.5515C11.075 13.6073 11.4645 13.5794 11.8262 13.4679L16.2594 16.8387C16.3058 16.8759 16.3336 16.9315 16.3336 16.9872L16.3243 18.1758C16.3243 18.278 16.2409 18.3616 16.1389 18.3616L11.0565 18.343ZM12.1416 10.9143C12.1416 11.1186 12.0766 11.3229 11.9654 11.4993C11.8448 11.6758 11.6871 11.8057 11.4923 11.8894C11.2976 11.9729 11.0843 11.9915 10.8895 11.9451C10.6947 11.8986 10.4999 11.8057 10.3515 11.6572C10.2032 11.5087 10.1011 11.3229 10.0641 11.1186C10.027 10.9143 10.0455 10.7008 10.129 10.515C10.2125 10.3201 10.3423 10.1622 10.5185 10.0415C10.6947 9.93002 10.8987 9.86506 11.1028 9.86506C11.381 9.86506 11.65 9.9765 11.8448 10.1808C12.0302 10.3664 12.1416 10.6265 12.1416 10.9143Z"
                fill="#0E0333"
            />
        </g>
        <defs>
            <clipPath id="clipgitcoin">
                <rect width="20" height="20" fill="white" />
            </clipPath>
        </defs>
    </svg>
    <svg
        v-if="iconColor === 'white'"
        width="20"
        height="20"
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
    >
        <g clip-path="url(#clipgitcoin)">
            <path
                fill-rule="evenodd"
                clip-rule="evenodd"
                d="M13.729 8.42916C14.1927 9.07916 14.4445 9.8685 14.4379 10.6644C14.4379 11.4471 14.1861 12.2298 13.729 12.8665L14.6962 13.6027C15.3123 12.7537 15.6501 11.719 15.6501 10.671C15.6568 9.56336 15.2924 8.47563 14.6233 7.6001L14.0687 8.1001L13.729 8.42916Z"
                fill="#02E2AC"
            />
            <path
                fill-rule="evenodd"
                clip-rule="evenodd"
                d="M17.7804 15.9566L13.2267 12.493C13.5513 12.0658 13.7367 11.5458 13.7645 11.0072C13.7831 10.4686 13.6441 9.93935 13.3565 9.48435L15.536 7.51576L17.8176 5.38002C17.966 5.2407 17.9752 4.99927 17.8268 4.85069L17.5115 4.53498C15.8884 2.89138 13.6997 1.93494 11.3996 1.86066L11.4089 0.60707C11.4181 0.523499 11.4089 0.439929 11.3903 0.356358C11.3625 0.272787 11.3254 0.198494 11.2697 0.133497C11.2141 0.0684992 11.1492 0.0220659 11.0657 -0.0150808C10.9915 -0.0522181 10.9081 -0.0707916 10.8245 -0.0707916C10.7411 -0.0707916 10.6577 -0.0522181 10.5835 -0.0150808C10.5093 0.0220659 10.4351 0.0684992 10.3794 0.133497C10.3237 0.198494 10.2773 0.272787 10.2589 0.347071C10.231 0.430642 10.2217 0.514212 10.2403 0.597783L10.231 1.88852C9.68383 1.94423 9.13662 2.04637 8.60798 2.20424L8.61722 0.597783C8.62655 0.514212 8.61722 0.430642 8.59874 0.347071C8.57092 0.263501 8.53378 0.189207 8.47815 0.12421C8.42252 0.0592126 8.35756 0.0127793 8.27412 -0.0243674C8.19992 -0.0615047 8.11639 -0.0800781 8.03295 -0.0800781C7.94951 -0.0800781 7.86598 -0.0615047 7.79187 -0.0243674C7.71767 0.0127793 7.64347 0.0592126 7.58775 0.12421C7.53212 0.189207 7.48574 0.263501 7.46726 0.337785C7.43935 0.421355 7.43011 0.504926 7.44868 0.588506L7.42087 2.64067C5.54739 3.47639 4.00785 4.93427 3.07112 6.76359C2.1344 8.59292 1.83761 10.6915 2.24569 12.7065C2.65377 14.7216 3.73889 16.5416 5.31554 17.8602C6.89223 19.1787 8.87696 19.9216 10.9266 19.9588L17.5578 19.9866C17.7619 19.9866 17.9288 19.8194 17.9288 19.6151V16.263C17.9288 16.1423 17.8732 16.0308 17.7804 15.9566ZM11.0565 18.343C9.42418 18.3338 7.83816 17.7859 6.54904 16.7923C5.25989 15.7894 4.33245 14.3872 3.9151 12.8086C3.49775 11.2301 3.61832 9.54931 4.2397 8.04506C4.87037 6.54071 5.97402 5.27784 7.39306 4.46069L7.38372 6.90284C7.37448 6.98647 7.38372 7.07 7.4023 7.15354C7.43011 7.23716 7.46726 7.31146 7.52288 7.37642C7.57851 7.44147 7.64347 7.48786 7.72691 7.525C7.80111 7.56215 7.88455 7.58072 7.96808 7.58072C8.05152 7.58072 8.13496 7.56215 8.20916 7.525C8.28336 7.48786 8.35756 7.44147 8.41319 7.37642C8.46882 7.31146 8.5152 7.23716 8.53378 7.16287C8.56159 7.07934 8.57092 6.99571 8.55235 6.91218L8.56159 3.91282C9.37779 3.61568 10.2403 3.47639 11.1121 3.47639C12.7166 3.47639 14.2747 4.00568 15.5453 4.97141C15.638 5.0457 15.6473 5.1757 15.5638 5.25927L12.0952 8.44434C11.7798 8.31432 11.4367 8.24003 11.0935 8.24003C10.7133 8.24003 10.3331 8.31432 9.98063 8.47215C9.6282 8.63007 9.32207 8.86219 9.07166 9.15003C8.82134 9.43787 8.63579 9.78143 8.52454 10.1437C8.41319 10.515 8.38538 10.8957 8.441 11.2764C8.49672 11.6572 8.62655 12.0194 8.83058 12.3444C9.0346 12.6694 9.31283 12.9386 9.6282 13.1523C9.95282 13.3565 10.3145 13.4958 10.6947 13.5515C11.075 13.6073 11.4645 13.5794 11.8262 13.4679L16.2594 16.8387C16.3058 16.8759 16.3336 16.9315 16.3336 16.9872L16.3243 18.1758C16.3243 18.278 16.2409 18.3616 16.1389 18.3616L11.0565 18.343ZM12.1416 10.9143C12.1416 11.1186 12.0766 11.3229 11.9654 11.4993C11.8448 11.6758 11.6871 11.8057 11.4923 11.8894C11.2976 11.9729 11.0843 11.9915 10.8895 11.9451C10.6947 11.8986 10.4999 11.8057 10.3515 11.6572C10.2032 11.5087 10.1011 11.3229 10.0641 11.1186C10.027 10.9143 10.0455 10.7008 10.129 10.515C10.2125 10.3201 10.3423 10.1622 10.5185 10.0415C10.6947 9.93002 10.8987 9.86506 11.1028 9.86506C11.381 9.86506 11.65 9.9765 11.8448 10.1808C12.0302 10.3664 12.1416 10.6265 12.1416 10.9143Z"
                fill="white"
            />
        </g>
        <defs>
            <clipPath id="clipgitcoin">
                <rect width="20" height="20" fill="white" />
            </clipPath>
        </defs>
    </svg>
</template>

<script lang="ts">
import { Options, Vue } from 'vue-class-component';

@Options({
    props: {
        iconColor: String,
    },
})
export default class GitcoinIcon extends Vue {}
</script>

<style></style>
